-
-
Notifications
You must be signed in to change notification settings - Fork 23.5k
[3.x] [tvOS] Basic tvOS Support #45829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9e68457 to
a5ea4e3
Compare
7b6f939 to
ee5b064
Compare
0756c49 to
77e4b4a
Compare
77e4b4a to
8c7c5b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added delay for 'end' press. This should allow to use Input.is_joy_button_pressed with JOY_START. Added separate tvOS delay settings in project settings. Added 'tvOS.overrides_menu_button' value. This allows to enable system's default processing of menu button.
f233b70 to
881b653
Compare
|
Reverting this PR (as well as one for It's working, but I'm not happy with the overall code structure/cleanliness for now. |
|
Hi, Any news when it will be available? |
71cb8d3 to
c58391c
Compare
|
Good day! There was a need for tvOS |
This won't be merged in 3.4.x as patch releases are now dedicated to bug fixes only. This can be merged for 3.5 if this is rebased against the latest |
@naithar Can you rebase? |
It was a question to the author of a branch. |
I'm planning to work on this PR and some other iOS issues, but I can't really give a time frame for when it will be ready. You should be able to use this version of PR after some modifications, but I can't name them as I haven't been following development for some time. |
|
tvOS unsupport NSDocumentDirectory directory. Need use NSUserDefaults (512kb limit) |
|
Guys, Nice work. @rsanchezsaez There is any guy in Apple team to add the AppleTV support? Im waiting for AppleTV for years. I want migrate to Godot but my games runs on AppleTV: |

Added basic tvOS support.
Implements already closed but not implemented proposal: godotengine/godot-proposals#224
Platform code is based on iOS platform code with minor changes (some iOS stuff isn't available on tvOS).
Audio interruption was also removed - AppleTV don't seem post interruption notification correctly or in right order, which results in game freezing after application loses focus.
Keyboard input backed was changed so keyboard input actually works.
Input is handled by controllers. Apple/Siri Remote are also considered controller (micro)
Export code (including plugins) is also based on iOS platform since both of them export into Xcode project.
But export is also simpler:
Core code has been modified to address tvOS unsupported features - no
forkandexecvp.Rendering code has been modified for tvOS to use same paths/methods as iOS's.
Mono haven't been ported.
GDNative uses same configuration as iOS platform.
Build container and script PRs: godotengine/build-containers#71, godotengine/godot-build-scripts#21
Since linux-compiled binaries are required to use
use_ltoto pass App Store checks, I'll place macOS built tvOS templates and binaries here: unofficial tvOS templates